#ifndef PRINTERDIALOG_H
#define PRINTERDIALOG_H

#include <QDialog>
#include <QWebEngineView>

namespace Ui {
class PrinterDialog;
}

class PrinterDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PrinterDialog(QWidget *parent = 0);
    ~PrinterDialog();

    QWebEngineView *htmlView;
    void accept();
public slots:
    void printPreviewSlot(QPrinter *printer);
private:
    Ui::PrinterDialog *ui;
};

#endif // PRINTERDIALOG_H
